#include <avr/io.h>

inline void printNum(int n) {
//	DDRC = (1 << PC0) | (1 << PC1) | (1 << PC2) | (1 << PC3) | (1 << PC4) | (1 << PC5);
//	if (n>63) n=63;
//	PORTC = n;
}

int delta = 250;

inline void rudderTick() {
	OCR1B += delta;
	if (OCR1B<=1000 || OCR1B>=2000) delta = -delta;
}
